|
require('Module:No globals') local function getCatForId( id ) local title = mw.title.getCurrentTitle() local namespace = title.namespace if namespace == 0 then return '' elseif namespace == 2 and not title.isSubpage then return '' else return '' end end local function viafLink( id ) if not string.match( id, '^%d+$' ) then return false end return '.. id .. ' ' .. id .. ' ' .. getCatForId( 'VIAF' ) end local function kulturnavLink( id ) return '.. id .. ' id ' end local function sikartLink( id ) return '.. id .. '&lng=en ' .. id .. ' ' end local function tlsLink( id ) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「require('Module:No globals')local function getCatForId( id ) local title = mw.title.getCurrentTitle() local namespace = title.namespace if namespace == 0 then return '' elseif namespace == 2 and not title.isSubpage then return '' else return '' endendlocal function viafLink( id ) if not string.match( id, '^%d+$' ) then return false end return '.. id .. ' ' .. id .. ' ' .. getCatForId( 'VIAF' )endlocal function kulturnavLink( id ) return '.. id .. ' id ' endlocal function sikartLink( id ) return '.. id .. '&lng=en ' .. id .. ' ' endlocal function tlsLink( id )」の詳細全文を読む スポンサード リンク
|